//
//  UIViewController+TopMostViewController.h
//  SECRET
//
//  Created by 徐汉卿 on 15/11/10.
//  Copyright © 2015年 Jessica. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (TopMostViewController)

/**
 *  从rootVC算起  从model 算起获取最底层的控制器
 *
 *  @return <#return value description#>
 */
+(UIViewController *)currentViewController;

- (UIViewController *)topMostViewController;

@end

@interface UIApplication (TopMostViewController)

- (UIViewController *)topMostViewController;

@end